<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="error ${param.error == true ? '' : 'hide'}"
		style="height: 20px">
		<font color="red">
			${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message} </font>
	</div>
	<form action="<c:url value='j_spring_security_check'/>" method="POST"
		style="width: 260px; text-align: center;">
		<table>
			<tr>
				<td>用户:</td>
				<td><input type='text' name='j_username' value=""
					value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>' /></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input type='password' name='j_password' value=""></td>
			</tr>
			<tr>
				<td><input type="checkbox" name="_spring_security_remember_me"></td>
				<td>两周之内不必登陆</td>
			</tr>

			<tr>
				<td colspan='2'><input name="submit" type="submit" value="登陆"></td>
			</tr>
			<tr>
				<td colspan='2'><input name="reset" type="reset" value="重置"></td>
			</tr>
		</table>
	</form>
</body>
</html>